<?php
class Feed extends CI_Controller 
{

   
    function index()
    {
        $data['encoding'] = 'utf-8';
        $data['feed_name'] = 'Klotterplanket';
        $data['feed_url'] = '';
        $data['page_description'] = 'Klottra!';
        $data['page_language'] = 'sv';
        $data['creator_email'] = 'none';
        $data['posts'] = $this->feed_model->getRecentEntries();    
        header("Content-Type: application/rss+xml");
        $this->load->view('feed/rss', $data);
    }
}
